﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iLangl.Model;
using System.Data;

namespace iLangl.LanguageWire.DAL.iLanglDAL
{
	public interface IProjectDAL
	{
		void RegisterProject(Project project, IDbTransaction transaction);
	
		void UpdateProjectReference(String ilanglProjectId, Int32 LWProjectId, IDbTransaction transaction);
		void UpdateContentReference(String ilanglContentId, Int32 LWContentId, IDbTransaction transaction);
		
		Project ReadProject(string projectId);
	
		ContentEntity ReadContent(string contentId);
	

		void CreateContent(ContentEntity content, IDbTransaction transaction);
		void UpdateProjectStatus(Project project, IDbTransaction transaction);

		void UpdateProject(Project project, IDbTransaction transaction);
	}
}
